<script>
import { isShowStyle, appShowStyle } from 'dependencies/fields/application'
export default {
  props: {
    data: {
      type: Object,
      default: () => {}
    },
    prop: String
  },
  render() {
    const _display = this.data[appShowStyle.prop] || {}
    if (this.prop === isShowStyle.prop) {
      return <span>{_display[isShowStyle.prop] === 1 ? '是' : '否'}</span>
    }
    return <span>{_display[this.prop]}</span>
  }
}
</script>
